package com.sxhalo.fsms.domain;

import java.util.Date;
import java.util.List;

public class FactDeviceLinkage {
    /**
     * 
     */
    private Integer id;

    /**
     * 联动名称
     */
    private String name;

    /**
     * 是否暂停
     */
    private Integer isSuspend;

    /**
     * 暂停截止时间
     */
    private Date suspendTime;

    /**
     * 联动描述
     */
    private String memo;

    /**
     * 是否启用
     */
    private Integer useState;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标记
     */
    private Integer deleteFlag;


    private List<FactDeviceLinkageRule> rules;

    private List<FactDeviceLinkageCommand> commands;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getIsSuspend() {
        return isSuspend;
    }

    public void setIsSuspend(Integer isSuspend) {
        this.isSuspend = isSuspend;
    }

    public Date getSuspendTime() {
        return suspendTime;
    }

    public void setSuspendTime(Date suspendTime) {
        this.suspendTime = suspendTime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public Integer getUseState() {
        return useState;
    }

    public void setUseState(Integer useState) {
        this.useState = useState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public List<FactDeviceLinkageRule> getRules() {
        return rules;
    }

    public void setRules(List<FactDeviceLinkageRule> rules) {
        this.rules = rules;
    }

    public List<FactDeviceLinkageCommand> getCommands() {
        return commands;
    }

    public void setCommands(List<FactDeviceLinkageCommand> commands) {
        this.commands = commands;
    }
}